import Vue from "vue";
import App from "./App.vue";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import router from "@/router";
//引入axios配置
import axios from "@/api/index";
// 组件库
import TDesign from "tdesign-vue";
import "tdesign-vue/es/style/index.css";
Vue.use(TDesign);

Vue.use(ElementUI);
Vue.config.productionTip = false;
//修改vue的原型链
Vue.prototype.$axios = axios;
new Vue({
  axios,
  router,
  render: (h) => h(App),
}).$mount("#app");
